package com.zle.services.login;

import org.springframework.web.bind.annotation.RequestParam;

import com.zle.entity.User;


public interface ILoginService {
	
	/**
	 * 登陆用户校验
	 * @param name
	 * @param pwd
	 * @return
	 */
	public User checkUser(String name,String pwd);
	/**
	 * 判断注册用户名是否存在
	 * @param uname
	 * @return
	 */
	public boolean unameAddExist(String uname);
	/**
	 * 用户注册
	 * @param uname
	 * @param upwd
	 * @param email
	 * @param phone
	 */
	public void addUser(String uname,String upwd,String email,String phone,String ip);
	
}
